home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds / newtee.man < prev    next >
Encoding:
Text File  |  1991-09-18  |  1.0 KB  |  26 lines

  1. ' $Header: /sprite/src/cmds/newtee/RCS/newtee.man,v 1.1 91/09/17 20:03:46 rab Exp $ SPRITE (Berkeley)
  2. .so \*(]ltmac.sprite
  3. .HS NEWTEE cmds
  4. .BS
  5. .SH NAME
  6. newtee \- Copy input to both stdout and the listed files without blocking.
  7. .SH SYNOPSIS
  8. \fBnewtee\fR  -[\fIoptions\fR] outputfile1 ...
  9. .SH OPTIONS
  10. .IP "\fB\-append\fR" 14
  11. Append output to listed output files rather than overwrite them.
  12. .IP "\fB\-inputFile\fR"
  13. Use the given file as input rather than stdin.
  14. .IP "\fB\-keepGoing\fR"
  15. Keep waiting for more input, even at end-of-file, as is done in "tail -f."
  16. .BE
  17. .SH INTRODUCTION
  18. Copy data from input (either a file or stdin) to stdout and also to the
  19. listed output files.  The data is not buffered and also the data will be
  20. copied to stdout even if writing to the output files blocks (due to server
  21. failure, etc).  This is useful for reading /dev/syslog and sending the stdout
  22. to an X window while copying the data also to a file so that you can read the
  23. syslog for the machine from anywhere and not just the console.
  24. .SH KEYWORDS
  25. tee syslog cat X copy
  26.